* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li, ul, ol {
    list-style: none;
}

.nav {
    height: 40px;
    background: #333;
    box-shadow: 0 1px 2px #666;
}

.nav-list {
    display: flex;
}

.nav-item {
    width: 100px;
    line-height: 40px;
    text-align: center;
}

.nav-list a {
    display: block;
    color: #fff;

}

.nav-list a:hover {
    background: #666;
}

.drop-list {
    background: #333;
    box-shadow: 0 1px 2px #333;
    display: none;
    border-radius: 6px;
    overflow: hidden;
}

.nav-item:hover .drop-list {
    display: block;
}


.drop-list li {
    border-top: 1px solid #666;
}





















